package artid.com.arttogo.bean;

import org.json.JSONObject;

import java.io.Serializable;

public class LotSearchDet extends AppItem implements Serializable {

	String id;
	String lot_name;
	String lot_logo;
	String chart_num;
	String price;
	String unit;
	String address;
	String seller_name;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getLot_name() {
		return lot_name;
	}
	public void setLot_name(String lot_name) {
		this.lot_name = lot_name;
	}
	public String getLot_logo() {
		return lot_logo;
	}
	public void setLot_logo(String lot_logo) {
		this.lot_logo = lot_logo;
	}
	public String getChart_num() {
		return chart_num;
	}
	public void setChart_num(String chart_num) {
		this.chart_num = chart_num;
	}
	public String getPrice() {
		return price;
	}
	public void setPrice(String price) {
		this.price = price;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getSeller_name() {
		return seller_name;
	}
	public void setSeller_name(String seller_name) {
		this.seller_name = seller_name;
	}


	@Override
	public void parse(JSONObject obj) {
		if (null == obj) {
			return;
		}
		address =(obj.optString("address"));
		chart_num = (obj.optString("chart_num")); 
		id=(obj.optString("id"));
		lot_logo=(obj.optString("lot_logo"));
		lot_name=(obj.optString("lot_name"));
		price =(obj.optString("price"));
		seller_name = (obj.optString("seller_name"));
		unit = (obj.optString("unit"));

	}
	


	

}
